In [32]:
Initialpay = float(input("Enter the initial amount of money:")) #What the initial amount of money you are earning
Totalpay = Initialpay #My total pay, which is equal to my initial pay, just doubled

for days in range(1,32): #The Range in Days
    print("After {} days, your total pay is  ${:,.2f} and you will have accumulated ${:,.2f}".format(days, Initialpay, Totalpay)) #My print statement in a format of what I earn, which is the total pay and what I have accumulated
    Initialpay *=2 #My initial pay being doubled
    Totalpay += Initialpay #My total pay, which is accumulated to what I earn
    
Enter the initial amount of money:0.01
After 1 days, your total pay is  $0.01 and you will have accumulated $0.01
After 2 days, your total pay is  $0.02 and you will have accumulated $0.03
After 3 days, your total pay is  $0.04 and you will have accumulated $0.07
After 4 days, your total pay is  $0.08 and you will have accumulated $0.15
After 5 days, your total pay is  $0.16 and you will have accumulated $0.31
After 6 days, your total pay is  $0.32 and you will have accumulated $0.63
After 7 days, your total pay is  $0.64 and you will have accumulated $1.27
After 8 days, your total pay is  $1.28 and you will have accumulated $2.55
After 9 days, your total pay is  $2.56 and you will have accumulated $5.11
After 10 days, your total pay is  $5.12 and you will have accumulated $10.23
After 11 days, your total pay is  $10.24 and you will have accumulated $20.47
After 12 days, your total pay is  $20.48 and you will have accumulated $40.95
After 13 days, your total pay is  $40.96 and you will have accumulated $81.91
After 14 days, your total pay is  $81.92 and you will have accumulated $163.83
After 15 days, your total pay is  $163.84 and you will have accumulated $327.67
After 16 days, your total pay is  $327.68 and you will have accumulated $655.35
After 17 days, your total pay is  $655.36 and you will have accumulated $1,310.71
After 18 days, your total pay is  $1,310.72 and you will have accumulated $2,621.43
After 19 days, your total pay is  $2,621.44 and you will have accumulated $5,242.87
After 20 days, your total pay is  $5,242.88 and you will have accumulated $10,485.75
After 21 days, your total pay is  $10,485.76 and you will have accumulated $20,971.51
After 22 days, your total pay is  $20,971.52 and you will have accumulated $41,943.03
After 23 days, your total pay is  $41,943.04 and you will have accumulated $83,886.07
After 24 days, your total pay is  $83,886.08 and you will have accumulated $167,772.15
After 25 days, your total pay is  $167,772.16 and you will have accumulated $335,544.31
After 26 days, your total pay is  $335,544.32 and you will have accumulated $671,088.63
After 27 days, your total pay is  $671,088.64 and you will have accumulated $1,342,177.27
After 28 days, your total pay is  $1,342,177.28 and you will have accumulated $2,684,354.55
After 29 days, your total pay is  $2,684,354.56 and you will have accumulated $5,368,709.11
After 30 days, your total pay is  $5,368,709.12 and you will have accumulated $10,737,418.23
After 31 days, your total pay is  $10,737,418.24 and you will have accumulated $21,474,836.47
In [ ]:
 
In [ ]: